material Derived Type

type, public :: material

Defines a linear-elastic-isotropic material.


Contents


Components

Type Visibility Attributes Name Initial
real(kind=real64), public :: density

The density of the material.

real(kind=real64), public :: modulus

The modulus of elasticity of the material.

real(kind=real64), public :: poissons_ratio

The Poisson's ratio of the material.


Constructor

public interface material

  • private pure function mat_init(modulus, pratio, density) result(rst)

    Constructs a new [[material]].

    Arguments

    Type IntentOptional Attributes Name
    real(kind=real64), intent(in) :: modulus

    The modulus of elasticity.

    real(kind=real64), intent(in) :: pratio

    The Poisson's ratio.

    real(kind=real64), intent(in) :: density

    The density.

    Return Value type(material)

    The new [[material]].